package com.hx.zhg.web.baseobj;

/**
 * 返回数据
 */
public class ResultData {

    private Integer status;  // 状态码
    private String statusInfo = ""; // 状态描述
    private Object data; //返回数据
    private String flag; //json返回格式标记

    public ResultData() {
    }

    public ResultData(Integer status, String statusInfo, Object data) {
        super();
        this.status = status;
        this.statusInfo = statusInfo;
        this.data = data;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusInfo() {
        return statusInfo;
    }

    public void setStatusInfo(String statusInfo) {
        this.statusInfo = statusInfo;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }
}
